package com.example.thinkpad.androiddemo2;

import android.view.View;
import android.widget.TextView;

import com.chad.library.adapter.base.BaseViewHolder;

/**
 * @author Thinkpad
 * @date 2017/12/4
 */

public class StudentViewHolder extends BaseViewHolder {

    private TextView tvName;

    private TextView tvAge;

    public StudentViewHolder(View view) {
        super(view);
        tvName = view.findViewById(R.id.tv_name);

        tvAge = view.findViewById(R.id.tv_age);
    }

    public TextView getTvName() {
        return tvName;
    }

    public void setTvName(TextView tvName) {
        this.tvName = tvName;
    }

    public TextView getTvAge() {
        return tvAge;
    }

    public void setTvAge(TextView tvAge) {
        this.tvAge = tvAge;
    }
}
